//
//  YLInvestmentCertificateModel.h
//  YLFinanceService
//
//  Created by she1323 on 2017/10/26.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import <YYModel.h>
#import "LKBaseModel.h"
@interface YLInvestmentCertificateModel : LKBaseModel

- (NSDictionary *)properties_aps;

/**
 优惠券类型   加息券 = 1, 满减券 = 2
 */
@property (nonatomic, assign) NSInteger voucherType;

/**
 优惠数额 单位 满减券单位 元 ，加息券 - 百分比
 */
@property (nonatomic, strong) NSString *discountQuota;

/**
 平台限制说明
 */
@property (nonatomic, strong) NSString *platformExplain;

/**
 投资额限制说明
 */
@property (nonatomic, strong) NSString *investmentExplain;

/**
 产品限制说明
 */
@property (nonatomic, strong) NSString *useringExplain;

/**
 状态  未发送 = 0,  已发送 = 1,  已领取 = 20,   已使用 = -20,  已过期 = 3,
 */
@property (nonatomic, assign) NSInteger voucher2CustomerState;

/**
 生效时间
 */
@property (nonatomic, strong) NSString *effectiveDate;

/**
 失效时间
 */
@property (nonatomic, strong) NSString *expirationDate;

/**
 发送标识语
 */
@property (nonatomic, strong) NSString *sendReason;

/**
 客户优惠券Id
 */
@property (nonatomic, strong) NSString *customerVoucherId;

/**
 优惠券编号
 */
@property (nonatomic, strong) NSString *voucherGuid;

/**
 优惠券编号
 */
@property (nonatomic, strong) NSString *voucherCode;

/**
 优惠券名称
 */
@property (nonatomic, strong) NSString *voucherName;

@end


@interface YLInvestmentCertificateItem : LKBaseModel


/**
 请求到的个数
 */
@property (nonatomic, assign) NSInteger totalCount;

@property (nonatomic, strong) NSArray *items;

@end
